package com.example.demo.mapper;

import com.example.demo.pojo.liaotianneirong;
import com.example.demo.pojo.wanfaa;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface wanfadao {
    wanfaa cha(@Param("fangjianid")int fangjianid);
    wanfaa chakongfang();
    wanfaa chapipeizhuangtai(@Param("zhang") String zhang);
   Integer chamaxrow();
    void insertzhang1(@Param("fangjianid")int fangjianid,@Param("zhang1")String zhang1);
    void updatezhang1(@Param("fangjianid")int fangjianid,@Param("zhang")String zhang);
    void updatezhang2(@Param("fangjianid")int fangjianid,@Param("zhang")String zhang);
    void updatezhang3(@Param("fangjianid")int fangjianid,@Param("zhang")String zhang);
    void updatezhuangtai(@Param("fangjianid")int fangjianid);
    void delete(@Param("fangjianid")int fangjianid);
    void deletezhang1(@Param("zhang")String zhang,@Param("fangjianid")int fangjianid);
    void deletezhang2(@Param("zhang")String zhang,@Param("fangjianid")int fangjianid);
    void deletezhang3(@Param("zhang")String zhang,@Param("fangjianid")int fangjianid);
    void updatejiaodizhu1(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
    void updatejiaodizhu2(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
    void updatejiaodizhu3(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
    void updatebujiaodizhu1(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
    void updatebujiaodizhu2(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
    void updatebujiaodizhu3(@Param("fangjianid")int fangjianid,@Param("jiaofen") int jiaofen,@Param("jiaofencishu") int jiaofencishu);
 void updatedizhu1(@Param("fangjianid")int fangjianid,@Param("dizhu")int dizhu);
 void updatedizhu2(@Param("fangjianid")int fangjianid,@Param("dizhu")int dizhu);
 void updatedizhu3(@Param("fangjianid")int fangjianid,@Param("dizhu")int dizhu);
 void updateshoupai(@Param("fangjianid")int fangjianid,@Param("shoupai1") String shoupai1,@Param("shoupai2") String shoupai2,@Param("shoupai3") String shoupai3,@Param("dizhupai") String dizhipai);
 void updateshoupai1(@Param("fangjianid")int fangjianid,@Param("shoupai")String  shoupai);
 void updateshoupai2(@Param("fangjianid")int fangjianid,@Param("shoupai")String  shoupai);
 void updateshoupai3(@Param("fangjianid")int fangjianid,@Param("shoupai")String  shoupai);
 void updatechupai1(@Param("fangjianid")int fangjianid,@Param("paishu") int paishu,@Param("chupai") String chupai);
 void updatechupai2(@Param("fangjianid")int fangjianid,@Param("paishu") int paishu,@Param("chupai") String chupai);
 void updatechupai3(@Param("fangjianid")int fangjianid,@Param("paishu") int paishu,@Param("chupai") String chupai);
 void updatebuyao1(@Param("fangjianid")int fangjianid,@Param("buyaocishu") int buyaocishu);
 void updatebuyao2(@Param("fangjianid")int fangjianid,@Param("buyaocishu") int buyaocishu);
 void updatebuyao3(@Param("fangjianid")int fangjianid,@Param("buyaocishu") int buyaocishu);
 void updateqingkongdipai(@Param("fangjianid")int fangjianid);
 void updatedipai(@Param("fangjianid")int fangjianid,@Param("guanjianzhi")int guanjianzhi,@Param("shanghaizhi")int shanghaizhi,@Param("leixing")String leixing);
 List<liaotianneirong> chaliaotianneirong(@Param("fangjianid")int fangjianid);
 void jiaoliu(@Param("fangjianid")int fangjianid,@Param("zhang")String zhang,@Param("neirong")String neirong);
void updatejiesuandou(@Param("fangjianid")int fangjianid,@Param("jiesuandou")int jiesuandou);
}
